package com.example.mapper;

import com.example.entity.Dept;
import org.apache.ibatis.annotations.*;

import java.util.List;

@Mapper
public interface DeptMapper {
    List<Dept> find(Dept dept);

    Dept findOne(Integer id);

    void insertMany(List<Dept> deptList);

    void updateMany(List<Integer> ids, Dept dept);

    int deleteMany(List<Integer> ids);

}